home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / srefv12i.zip / adv_opts.ctl < prev    next >
Text File  |  1997-03-09  |  2KB  |  45 lines

  1. ; 7 Mar 1997.
  2. ; This is a sample of an SRE-Filter advanced options file
  3. ;
  4. ; This line invokes a call to the adv_opts.cmd rexx procedure. This call
  5. ; occurs just prior to the "verb" processing -- after all request string
  6. ; modifications and access control privilege have been accomplished.
  7. ; It will be called for ALL honored requests (that is, it will NOT be
  8. ; called for   redirected, or unauthorized, requests).
  9. exec adv_opts.cmd This is an argument , with commas embedded.
  10. ;
  11. ; These lines are used to modify the response headers for document
  12. ; transfers using GET requests, and for HEAD requests.
  13. ;  Note:
  14. ; 1) goserve issues several default response headers.
  15. ; 2) FIX_EXPIRE may cause a modified set of response headers.
  16. ; 3) AUTO_HEADER parameter may cause sre-filter to parse and send
  17. ;    headers listed in the <HEAD> section of an HTML document.
  18. ; This stuff is done 2 and 3 (but possibly before 1).  If you use a RESPONSE
  19. ; then you can suppress 1 -- see the goserve.doc for details on how to use
  20. ; HEADER and RESPONSE directives.
  21. ;Response 200 ok
  22. header add X-The-Date-GMT: $GMT
  23. header add X-Webmaster-Name: Daniel Platypus
  24. header add X-comment:  X- headers generated by an SRE-Filter advanced-options file
  25. header add X-Our-server: $servername
  26. header add X-Size-1: this is $size size
  27. header add X-Code-1: this is $code code
  28. ;
  29. ; The following will suppress selected ssi's. To disable them, just 
  30. ; precede with a semi colon (a ;), or remove the line.
  31. ; Note: 1 directive per line, only first word in line is used.
  32. ssi_no_cache
  33. ssi_no_header
  34. ssi_no_footer
  35. ssi_no_replace
  36. ssi_no_include
  37. ssi_no_option
  38. ssi_no_interpret
  39. ssi_no_select
  40. ssi_no_#filestat
  41. ssi_no_#config
  42. ssi_no_#echo
  43. ssi_no_#include
  44. ssi_no_#exec
  45.